package com.smxy.hunzi.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.smxy.hunzi.common.utils.PageUtils;
import com.smxy.hunzi.common.utils.R;
import com.smxy.hunzi.user.entity.UserEntity;
import com.smxy.hunzi.user.vo.UserLoginVo;

import java.util.Map;

/**
 * 用户信息表
 *
 * @author litao
 * @email 4028546@qq.com
 * @date 2020-08-14 12:35:17
 */
public interface UserService extends IService<UserEntity> {

    PageUtils queryPage(Map<String, Object> params);

    R register(UserEntity user);

    R login(UserLoginVo userLoginVo);

    R updateStatus(UserEntity userEntity,String isAdmin,String token) throws Exception;

    R updatePassword(UserEntity userEntity);

    R updatePerms(UserEntity userEntity);
}

